package cn.da.shuai.cool.system.service.service;

import cn.da.shuai.cool.mybatis.service.ICoolService;
import cn.da.shuai.cool.system.model.entity.role.CoolRole;
import cn.da.shuai.cool.system.model.entity.role.SearchRoleVo;
import cn.da.shuai.cool.system.model.entity.role.UpdateRoleVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface ICoolRoleService extends ICoolService<CoolRole> {
    void saveRole(UpdateRoleVo updateRoleVo);
    void updateRole(UpdateRoleVo updateRoleVo);
    void deleteRole(Integer id);
    List<CoolRole> listAllRoles();
    List<CoolRole> getRoleByUserId(Integer userId);
}